package cn.pjz.service;

import cn.pjz.basic.result.JSONResult;
import cn.pjz.domain.Token;
import cn.pjz.domain.User;
import com.baomidou.mybatisplus.service.IService;

/**
 * @author 阿洲
 */
public interface ITokenService extends IService<Token> {
    //生产token
    Token save();

    //登录
    JSONResult login(User user, Token token);
}
